/**
 * Author: Dmitry Ustimov
 * Date: 5/14/13
 * Time: 9:25 PM
 */

package com.gmail.dmitryustimov.ms.java7.mediator.classic.example.classic_example1;

public class Mediator {
    private Flight flight;
    private Runway runway;
    public boolean land;

    public void registerRunway(Runway runway) {
        this.runway = runway;
    }

    public void registerFlight(Flight flight) {
        this.flight = flight;
    }

    public boolean isLandingOk() {
        return land;
    }

    public void setLandingStatus(boolean status) {
        land = status;
    }
}
